from django.template import Library


register = Library()


@register.simple_tag
def change_string(num):
    if num < 100:
        num = str(num).rjust(3,'0')
    return f'#{num}'

